package dormatory;

public class Person {
	
	// stuff all people have

	private int age;
	private Gender gender;
	private String churchname;
	private String fullname;
	
	// construct for person
	public Person(String fullname, Gender gender) {
		this.fullname = fullname;
		this.gender = gender;
	}

	public String toString () {
		StringBuilder sb = new StringBuilder();
		sb.append("Guest ");
		sb.append(fullname);
		return sb.toString();
	}
	
	// stuff all people can do
	
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}

	public Gender getGender() {
		return gender;
	}
	public void setGender(Gender gender) {
		this.gender = gender;
	}
	public String getChurchname() {
		return churchname;
	}
	public void setChurchname(String churchname) {
		this.churchname = churchname;
	}
	public String getFullname() {
		return fullname;
	}
	public void setFullname(String fullname) {
		this.fullname = fullname;
	};
	
	


	
	
	
}